add_compile_definitions(QT_DLL)

set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)

all_source_recurse(CC_SOURCES)

add_library(tools 
    STATIC 
    ${CC_SOURCES} 
)

target_link_libraries(tools
    PUBLIC
    qt5
)

target_include_directories(tools
    PUBLIC
    ${CMAKE_CURRENT_SOURCE_DIR}
    ${CMAKE_CURRENT_SOURCE_DIR}/module
    ${CMAKE_CURRENT_SOURCE_DIR}/http
)
